package com.atwisdom.star.auth.mapper;

import com.atwisdom.star.auth.pojo.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

/**
* @author fushb
* @description 针对表【menu】的数据库操作Mapper
* @createDate 2022-07-18 15:04:53
* @Entity com.atwisdom.star.auth.pojo.Menu
*/
public interface MenuMapper extends BaseMapper<Menu> {
    @MapKey(value = "COLUMN_NAME")
    Map<String, Object> getTableColumns(String dtType);

    List<Long> getMenuIdList(Long userId);
}




